import request from '@/utils/request.js'

export function proStatus(){//项目状态
	return request({
		url:'supervision/statistics/projectStatus',
		method:'GET'
	})
}

export function proYearNum(id){//项目年份数量统计
	return request({
		url:'supervision/statistics/countByScore/' + id,
		method:'GET'
	})
}
export function maintainNum(){//维护统计
	return request({
		url:'supervision/maintainkanban/statistics',
		method:'GET'
	})
}
export function attendance(type){//获取人员考勤统计
	return request({
		url:'supervision/report/app/attendance/' + type,
		method:'GET'
	})
}
export function noFinishedTask(type){//获取人员未完成任务
	return request({
		url:'supervision/constructionWorker/unfinishedPlanStatistics'+'?type='+ type,
		method:'GET'
	})
}
